$(function () {
    var books=JSON.parse(localStorage.getItem("books"));
    var string=template("demo",{books:books});
    document.getElementById("flexBox").innerHTML=string;
})

